package com.example.pojo;
/**
 * 仓库总账表
 * @author Administrator
 *
 */
public class Account {
	private Integer warehouseid;//仓库编号
    private String  prodId;// 物料编号
    private double  number;//数量
    private double  unitprice;//成本单价
    private double  totalprice;//总金额
	public Integer getWarehouseid() {
		return warehouseid;
	}
	public void setWarehouseid(Integer warehouseid) {
		this.warehouseid = warehouseid;
	}
	public String getProdId() {
		return prodId;
	}
	public void setProdId(String prodId) {
		this.prodId = prodId;
	}
	public double getNumber() {
		return number;
	}
	public void setNumber(double number) {
		this.number = number;
	}
	public double getUnitprice() {
		return unitprice;
	}
	public void setUnitprice(double unitprice) {
		this.unitprice = unitprice;
	}
	public double getTotalprice() {
		return totalprice;
	}
	public void setTotalprice(double totalprice) {
		this.totalprice = totalprice;
	}
	public Account(Integer warehouseid, String prodId, double number,
			double unitprice, double totalprice) {
		super();
		this.warehouseid = warehouseid;
		this.prodId = prodId;
		this.number = number;
		this.unitprice = unitprice;
		this.totalprice = totalprice;
	}
	public Account() {
		super();
	}
	@Override
	public String toString() {
		return "Account [warehouseid=" + warehouseid + ", prodId=" + prodId
				+ ", number=" + number + ", unitprice=" + unitprice
				+ ", totalprice=" + totalprice + "]";
	}
}
